﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QuanLyRapChieuPhim
{
    public partial class frmMainChuRap : Form
    {
        public frmMainChuRap()
        {
            InitializeComponent();
        }

        private void frmMainChuRap_Load(object sender, EventArgs e)
        {
            //this.BackColor =  Color.FromArgb(200, 220, 255);
            frmDayNow fm = new frmDayNow();
            fm.Show();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            tsDayNow.Text = frmDayNow.getDatNow();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            frmQuanLyPhongChieu frm = new frmQuanLyPhongChieu();
            frm.ShowDialog();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            frmQuanLyGiaVe fm = new frmQuanLyGiaVe();
            fm.Show();
        }

        private void btnThemRapChieu_Click(object sender, EventArgs e)
        {
            frmThemRap frm = new frmThemRap();
            frm.ShowDialog();
        }

        private void btnDangKyPhim_Click(object sender, EventArgs e)
        {

        }
    }
}
